#include <cstdio>

#include "ros/ros.h"
#include "geometry_msgs/Twist.h"

ros::Publisher pub;

void testVelocityCallBack(const geometry_msgs::Twist::ConstPtr& twist){
    pub.publish(twist);     
}

int main(int argc,char **argv){

    ros::init(argc,argv,"testVelocity");
    ros::NodeHandle n;

    ros::Subscriber sub = n.subscribe<geometry_msgs::Twist>("cmd_vel",10,testVelocityCallBack);
    pub = n.advertise<geometry_msgs::Twist>("epuckVelocity0",10);    
    
    ros::spin();

    return 0;
}
